package com.click369.mianshiqingbao.mapper;

import com.click369.mianshiqingbao.pojo.ReadLogBean;
import com.click369.mianshiqingbao.pojo.ReadLogBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户阅读信息的数据访问接口
 */
public interface ReadLogBeanMapper {
    long countByExample(ReadLogBeanExample example);

    int deleteByExample(ReadLogBeanExample example);

    int deleteByPrimaryKey(String readId);

    int insert(ReadLogBean record);

    int insertSelective(ReadLogBean record);

    List<ReadLogBean> selectByExample(ReadLogBeanExample example);

    ReadLogBean selectByPrimaryKey(String readId);

    int updateByExampleSelective(@Param("record") ReadLogBean record, @Param("example") ReadLogBeanExample example);

    int updateByExample(@Param("record") ReadLogBean record, @Param("example") ReadLogBeanExample example);

    int updateByPrimaryKeySelective(ReadLogBean record);

    int updateByPrimaryKey(ReadLogBean record);
}